package com.example.demo.enums;

import lombok.Getter;

@Getter
public enum UserEnum {
    error(500,"save user error"), //身份证识别
    right(200,"save user success"), //看图说话
    getUserError(444,"getUserInfo error"),
    getUserRight(200,"getUserInfo success");
    ;
    private Integer code;
    private String message;
    UserEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
